package optimization.ifelse;

public enum RefelDbTypeEnum {

    MYSQL_DRIVER("mysql","optimization.ifelse.strategy.MySqlStrategy"),

    ORCAL_DRIVER("orcal","optimization.ifelse.strategy.OrcalStrategy"),

    SQLSERVER_DRIVER("sqlserver","optimization.ifelse.strategy.SqlServerStrategy"),

    HBASE_DRIVER("hbase","optimization.ifelse.strategy.HbaseStrategy"),

    MONGO_DRIVER("mogon","optimization.ifelse.strategy.MongoStrategy"),

    ES_DRIVER("es","optimization.ifelse.strategy.EsStrategy")
    ;

    private String type;
    private String clazz;

    private RefelDbTypeEnum(String type,String clazz){
        this.type=type;
        this.clazz=clazz;
    }

    public String type() {
        return type;
    }

    public String clazz(){
        return  clazz;
    }
}
